count (one's) blessings

Translations
быть благодарным за что-то хорошее в жизни
Even in tough times, it's important to count your blessings.
Даже в трудные времена важно быть благодарным за что-то хорошее в жизни.
Definitions
To be grateful for the good things in one's life, often as a reminder to focus on the positive aspects rather than dwelling on problems or difficulties.